import request from '@/utils/request';

export async function getDriveParaLibG120EngByPage(params: any) {
  return request('/api/drivePara/getDriveParaLibG120EngByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addDriveParaLibG120Eng(params: any) {
  return request('/api/drivePara/addDriveParaLibG120Eng', {
    method: 'POST',
    data: params,
  });
}

export async function updateDriveParaLibG120Eng(params: any) {
  return request('/api/drivePara/updateDriveParaLibG120Eng', {
    method: 'POST',
    data: params,
  });
}


export async function delDriveParaLibG120Eng(params: any) {
  return request('/api/drivePara/delDriveParaLibG120Eng', {
    method: 'POST',
    data: params,
  });
}

export async function delDriveParasLibG120Eng(params: any) {
  return request('/api/drivePara/delDriveParasLibG120Eng', {
    method: 'POST',
    data: params,
  });
}

export async function uploadDriveParasLibG120EngExcel(params: any) {
  return request('/api/drivePara/uploadDriveParasLibG120EngExcel', {
    method: 'POST',
    requestType: 'form',
    data: params,
  });
}

export async function addG120DeviceInfo(params: any) {
  return request('/api/drivePara/addG120DeviceInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delG120DeviceInfo(params: any) {
  return request('/api/drivePara/delG120DeviceInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateG120DeviceInfo(params: any) {
  return request('/api/drivePara/updateG120DeviceInfo', {
    method: 'POST',
    data: params,
  });
}

